package com.itheima.dao;


import com.github.pagehelper.Page;
import com.itheima.pojo.OrderSetting;
import com.itheima.pojo.Setmeal;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {


    //上传文件
    void add(OrderSetting orderSetting);

    //根据日期查询出现的次数
    long findCountByOrderDate(Date orderDate);

    //根据日期修改,可预约人数
    void editNumberByOrderDate(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map<String,String> map);

    OrderSetting findByOrderDate(Date parseString2Date);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
